export type IndexDataType = {
  kw: string
  page: number
  page_size: number
  totalRows: number
  rows: Array<{}>
}
export type EditIndexParams = {
  isShow: boolean
  showTitle: string
  confirmButtonText: string
  saveLoading: boolean
  frequencyList: Array<string>
}
export type ManageIndexParams = {
  indexId: number
  isShow: boolean
  title: string
  dataLoading: boolean
  page: number
  pageSize: number
  totalCount: number
  valueList: Array<{}>
  showCreateNew: boolean
  newCreateLoading: boolean
  newDatadate: string
  newDatavalue: number | undefined
  createTime?: string
  updateTime?: string
}
export type IndexItem = {
  index_id?: number
  id?: number
  name: string
  plat: string
  plat_id: string
  frequency: string
  unit: string
  start_date: string
  source: string
  note: string
  state: boolean | number
  is_active: boolean
  create_time?: string
  update_time?: string
}
export type IndexValue = {
  id: number
  rid?: number
  datadate: string
  datavalue: number
  is_active: boolean
  isEditing: boolean
}
